package cn.yza.设计模式.装饰者模式.eg2;

import java.math.BigDecimal;

/**
 * @author Honglixi
 * @create 2022-01-11 17:02
 */
public class DarkRoast extends Beverage{

    public DarkRoast() {
        description = "DarkRoast";
    }

    /**
     * 返回价格
     * @return
     */
    @Override
    public BigDecimal cost() {
        return new BigDecimal("3.00");
    }
}
